feat(desktop): upgrade Pocket TTS to April model - #3266
Draft
johnmatthewtennant wants to merge 15 commits into
Draft
feat(desktop): upgrade Pocket TTS to April model#3266johnmatthewtennant wants to merge 15 commits into
johnmatthewtennant wants to merge 15 commits into
Conversation
Signed-off-by: John Tennant <[email protected]>
Signed-off-by: John Tennant <[email protected]>
Signed-off-by: John Tennant <[email protected]>
Signed-off-by: John Tennant <[email protected]>
Signed-off-by: John Tennant <[email protected]>
* origin/main: Publish symbol-bearing debug relay images (#3250) feat(tracing): add datastore tracing plumbing (#2760) fix(buzz-acp): accept id-keyed config options when resolving model switch (#2795) fix(desktop): probe legacy Goose install dir on Windows (#3248) refactor(desktop): extract install command execution into install_exec (#3251) Signed-off-by: John Tennant <[email protected]>
Signed-off-by: John Tennant <[email protected]>
Signed-off-by: John Tennant <[email protected]>
Signed-off-by: John Tennant <[email protected]>
Signed-off-by: John Tennant <[email protected]>
Signed-off-by: John Tennant <[email protected]>
Signed-off-by: John Tennant <[email protected]>
Signed-off-by: John Tennant <[email protected]>
Signed-off-by: John Tennant <[email protected]>
Signed-off-by: John Tennant <[email protected]>
johnmatthewtennant
force-pushed
the
jtennant/pocket-tts-2026-04
branch
from
July 28, 2026 10:49
51b1513 to
ec97128
Compare
johnmatthewtennant
force-pushed
the
jt/buzz-voice-refactor
branch
2 times, most recently
from
July 28, 2026 14:30
a3c16e7 to
0f97b7e
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Context
Buzz Desktop currently installs the January 2026 Pocket TTS model. Pocket TTS v2.1.0 ships an April English model with a different SentencePiece tokenizer, learned BOS embedding, prompt policy, and recurrent-state manifest, so changing download URLs alone is not compatible.
Summary
This PR replaces the January Pocket TTS model with the pinned full-precision
english_2026-04export. Buzz keeps sherpa-onnx 1.13.4 as its shared ONNX runtime and adds the April-specific native frontend and state loop needed by the new bundle.The PR remains draft pending manual listening of the raw, untrimmed onset-stress clip.
Changes
Related issue
None found.
Testing
cargo test --locked -p buzz-voice --lib: 12 passed, 2 model-dependent tests ignored.quizzaciously xyzzy.cargo test --locked --manifest-path desktop/src-tauri/Cargo.toml huddle::models::tests: 2 passed.cargo test --locked --manifest-path desktop/src-tauri/Cargo.toml huddle::tts::tests: 43 passed.cargo check --locked --manifest-path desktop/src-tauri/Cargo.toml: passed.cargo check --locked --manifest-path desktop/src-tauri/Cargo.toml --all-targets: passed.cargo clippy --locked -p buzz-voice --all-targets -- -D warnings: passed.4002a93db353e8770ac6ceba4969b3dd5bc590f43bc533d3c9747e8e3f527e1b.Manual listening is intentionally still pending. Automated checks do not satisfy that gate.
Screenshots
N/A. This changes model installation and speech synthesis, not a visual surface.
Reviewer-reproducible examples
Before and after model identity
From the repository root:
Target-branch output identifies the January bundle and manifest version 3:
PR-branch output identifies the pinned April bundle and manifest version 4:
End-to-end raw synthesis
Install the Pocket model from Buzz Desktop Settings on this branch, then run:
. ./bin/activate-hermit cargo run --locked --release -p buzz-voice --example pocket_april_onset -- \ /path/to/installed/pocket-tts \ /tmp/pocket-tts-april-onset-stress-raw.wav shasum -a 256 /tmp/pocket-tts-april-onset-stress-raw.wavThe generator makes each sentence a separate model call and inserts only 250 ms of digital silence between outputs. It does not trim or post-process onset artifacts. A successful run prints all nine explicit boundaries and writes a mono 24 kHz PCM WAV.
Listen with headphones and record any affected boundary numbers:
Hello,What,I'm,I've,Try,Please,Start, andSounds.The PR must remain draft until John records this listening result and separately authorizes ready-for-review.